package com.yc.sole.system.request;

import com.yc.sole.common.enums.CommonState;
import com.yc.sole.framework.validate.SelectGroup;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * 分页Request对象
 *
 * @author yizuomin
 * @date 2023-03-26
 **/
@Data
public class DictItemQueryReq implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 字典id
     */
    @NotNull(groups = SelectGroup.class)
    private Long dictId;
    /**
     * 字典编码
     */
    private String dictKey;
    /**
     * 字典项编码
     */
    private String itemKey;
    /**
     * 字典项名称
     */
    private String itemName;
    /**
     * 状态
     */
    private CommonState state;
}
